package com.bbzn.device.client.dao.history;

import com.bbzn.device.client.dataobject.AlarmHis;
import java.util.Date;
import java.util.List;
import com.bbzn.device.client.dto.history.AlarmHisDTO;import org.apache.ibatis.annotations.Param;

public interface AlarmHisMapper {
    int deleteByPrimaryKey(Long id);

    int insert(AlarmHis record);

    int insertOrUpdate(AlarmHis record);

    int insertOrUpdateSelective(AlarmHis record);

    int insertSelective(AlarmHis record);

    AlarmHis selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(AlarmHis record);

    int updateByPrimaryKey(AlarmHis record);

    List<AlarmHis> findByAll(AlarmHis alarmHis);

    int deleteByImei(@Param("imei") String imei);

    int updateBatch(List<AlarmHis> list);

    int updateBatchSelective(List<AlarmHis> list);

    int batchInsert(@Param("list") List<AlarmHis> list);

    int alarmHisCount(AlarmHisDTO record);

    List<AlarmHis> alarmHistroryLimt(AlarmHisDTO alarmHis);

    List<AlarmHis> alarmHistrorySelective(AlarmHisDTO alarmHis);
}